<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Struct template cnvbase</title>
<link rel="stylesheet" href="../../boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="../../index.html" title="Chapter 1. Boost.Convert 2.0">
<link rel="up" href="../../header/boost/convert/base_hpp.html" title="Header &lt;boost/convert/base.hpp&gt;">
<link rel="prev" href="../../header/boost/convert/base_hpp.html" title="Header &lt;boost/convert/base.hpp&gt;">
<link rel="next" href="../../BOOST_CNV_TO_STRING.html" title="Macro BOOST_CNV_TO_STRING">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<div class="spirit-nav">
<a accesskey="p" href="../../header/boost/convert/base_hpp.html"><img src="../../images/prev.png" alt="Prev"></a><a accesskey="u" href="../../header/boost/convert/base_hpp.html"><img src="../../images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../images/home.png" alt="Home"></a><a accesskey="n" href="../../BOOST_CNV_TO_STRING.html"><img src="../../images/next.png" alt="Next"></a>
</div>
<div class="refentry">
<a name="boost.cnv.cnvbase"></a><div class="titlepage"></div>
<div class="refnamediv">
<h2><span class="refentrytitle">Struct template cnvbase</span></h2>
<p>boost::cnv::cnvbase</p>
</div>
<h2 xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="refsynopsisdiv-title">Synopsis</h2>
<div xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: &lt;<a class="link" href="../../header/boost/convert/base_hpp.html" title="Header &lt;boost/convert/base.hpp&gt;">boost/convert/base.hpp</a>&gt;

</span><span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> derived_type<span class="special">&gt;</span> 
<span class="keyword">struct</span> <a class="link" href="cnvbase.html" title="Struct template cnvbase">cnvbase</a> <span class="special">{</span>
  <span class="comment">// types</span>
  <span class="keyword">typedef</span> <a class="link" href="cnvbase.html" title="Struct template cnvbase">cnvbase</a>                <a name="boost.cnv.cnvbase.this_type"></a><span class="identifier">this_type</span><span class="special">;</span>  
  <span class="keyword">typedef</span> <span class="keyword">int</span>                    <a name="boost.cnv.cnvbase.int_type"></a><span class="identifier">int_type</span><span class="special">;</span>   
  <span class="keyword">typedef</span> <span class="keyword">unsigned</span> <span class="keyword">int</span>           <a name="boost.cnv.cnvbase.uint_type"></a><span class="identifier">uint_type</span><span class="special">;</span>  
  <span class="keyword">typedef</span> <span class="keyword">long</span> <span class="keyword">int</span>               <a name="boost.cnv.cnvbase.lint_type"></a><span class="identifier">lint_type</span><span class="special">;</span>  
  <span class="keyword">typedef</span> <span class="keyword">unsigned</span> <span class="keyword">long</span> <span class="keyword">int</span>      <a name="boost.cnv.cnvbase.ulint_type"></a><span class="identifier">ulint_type</span><span class="special">;</span> 
  <span class="keyword">typedef</span> <span class="keyword">short</span> <span class="keyword">int</span>              <a name="boost.cnv.cnvbase.sint_type"></a><span class="identifier">sint_type</span><span class="special">;</span>  
  <span class="keyword">typedef</span> <span class="keyword">unsigned</span> <span class="keyword">short</span> <span class="keyword">int</span>     <a name="boost.cnv.cnvbase.usint_type"></a><span class="identifier">usint_type</span><span class="special">;</span> 
  <span class="keyword">typedef</span> <span class="keyword">long</span> <span class="keyword">long</span> <span class="keyword">int</span>          <a name="boost.cnv.cnvbase.llint_type"></a><span class="identifier">llint_type</span><span class="special">;</span> 
  <span class="keyword">typedef</span> <span class="keyword">unsigned</span> <span class="keyword">long</span> <span class="keyword">long</span> <span class="keyword">int</span> <a name="boost.cnv.cnvbase.ullint_type"></a><span class="identifier">ullint_type</span><span class="special">;</span>
  <span class="keyword">typedef</span> <span class="keyword">float</span>                  <a name="boost.cnv.cnvbase.flt_type"></a><span class="identifier">flt_type</span><span class="special">;</span>   
  <span class="keyword">typedef</span> <span class="keyword">double</span>                 <a name="boost.cnv.cnvbase.dbl_type"></a><span class="identifier">dbl_type</span><span class="special">;</span>   
  <span class="keyword">typedef</span> <span class="keyword">long</span> <span class="keyword">double</span>            <a name="boost.cnv.cnvbase.ldbl_type"></a><span class="identifier">ldbl_type</span><span class="special">;</span>  

  <span class="comment">// <a class="link" href="cnvbase.html#boost.cnv.cnvbaseconstruct-copy-destruct">construct/copy/destruct</a></span>
  <a class="link" href="cnvbase.html#idm12083-bb"><span class="identifier">cnvbase</span></a><span class="special">(</span><span class="special">)</span> <span class="special">=</span> <span class="keyword">default</span><span class="special">;</span>

  <span class="comment">// <a class="link" href="cnvbase.html#idm11869-bb">public member functions</a></span>
  <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> type_in<span class="special">,</span> <span class="keyword">typename</span> type_out<span class="special">&gt;</span> 
    <span class="keyword">void</span> <a class="link" href="cnvbase.html#idm11870-bb"><span class="keyword">operator</span><span class="special">(</span><span class="special">)</span></a><span class="special">(</span><span class="identifier">type_in</span> <span class="keyword">const</span> <span class="special">&amp;</span><span class="special">,</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">optional</span><span class="special">&lt;</span> <span class="identifier">type_out</span> <span class="special">&gt;</span> <span class="special">&amp;</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
   <a class="link" href="cnvbase.html#idm11879-bb"><span class="identifier">BOOST_CNV_TO_STRING</span></a><span class="special">(</span><span class="identifier">int_type</span><span class="special">,</span> <span class="identifier">optional</span><span class="special">&lt;</span> <span class="identifier">string_type</span> <span class="special">&gt;</span> <span class="special">&amp;</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
   <a class="link" href="cnvbase.html#idm11885-bb"><span class="identifier">BOOST_CNV_TO_STRING</span></a><span class="special">(</span><span class="identifier">uint_type</span><span class="special">,</span> <span class="identifier">optional</span><span class="special">&lt;</span> <span class="identifier">string_type</span> <span class="special">&gt;</span> <span class="special">&amp;</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
   <a class="link" href="cnvbase.html#idm11891-bb"><span class="identifier">BOOST_CNV_TO_STRING</span></a><span class="special">(</span><span class="identifier">lint_type</span><span class="special">,</span> <span class="identifier">optional</span><span class="special">&lt;</span> <span class="identifier">string_type</span> <span class="special">&gt;</span> <span class="special">&amp;</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
   <a class="link" href="cnvbase.html#idm11897-bb"><span class="identifier">BOOST_CNV_TO_STRING</span></a><span class="special">(</span><span class="identifier">llint_type</span><span class="special">,</span> <span class="identifier">optional</span><span class="special">&lt;</span> <span class="identifier">string_type</span> <span class="special">&gt;</span> <span class="special">&amp;</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
   <a class="link" href="cnvbase.html#idm11903-bb"><span class="identifier">BOOST_CNV_TO_STRING</span></a><span class="special">(</span><span class="identifier">ulint_type</span><span class="special">,</span> <span class="identifier">optional</span><span class="special">&lt;</span> <span class="identifier">string_type</span> <span class="special">&gt;</span> <span class="special">&amp;</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
   <a class="link" href="cnvbase.html#idm11909-bb"><span class="identifier">BOOST_CNV_TO_STRING</span></a><span class="special">(</span><span class="identifier">ullint_type</span><span class="special">,</span> <span class="identifier">optional</span><span class="special">&lt;</span> <span class="identifier">string_type</span> <span class="special">&gt;</span> <span class="special">&amp;</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
   <a class="link" href="cnvbase.html#idm11915-bb"><span class="identifier">BOOST_CNV_TO_STRING</span></a><span class="special">(</span><span class="identifier">sint_type</span><span class="special">,</span> <span class="identifier">optional</span><span class="special">&lt;</span> <span class="identifier">string_type</span> <span class="special">&gt;</span> <span class="special">&amp;</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
   <a class="link" href="cnvbase.html#idm11921-bb"><span class="identifier">BOOST_CNV_TO_STRING</span></a><span class="special">(</span><span class="identifier">usint_type</span><span class="special">,</span> <span class="identifier">optional</span><span class="special">&lt;</span> <span class="identifier">string_type</span> <span class="special">&gt;</span> <span class="special">&amp;</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
   <a class="link" href="cnvbase.html#idm11927-bb"><span class="identifier">BOOST_CNV_TO_STRING</span></a><span class="special">(</span><span class="identifier">flt_type</span><span class="special">,</span> <span class="identifier">optional</span><span class="special">&lt;</span> <span class="identifier">string_type</span> <span class="special">&gt;</span> <span class="special">&amp;</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
   <a class="link" href="cnvbase.html#idm11933-bb"><span class="identifier">BOOST_CNV_TO_STRING</span></a><span class="special">(</span><span class="identifier">dbl_type</span><span class="special">,</span> <span class="identifier">optional</span><span class="special">&lt;</span> <span class="identifier">string_type</span> <span class="special">&gt;</span> <span class="special">&amp;</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
   <a class="link" href="cnvbase.html#idm11939-bb"><span class="identifier">BOOST_CNV_TO_STRING</span></a><span class="special">(</span><span class="identifier">ldbl_type</span><span class="special">,</span> <span class="identifier">optional</span><span class="special">&lt;</span> <span class="identifier">string_type</span> <span class="special">&gt;</span> <span class="special">&amp;</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
   <a class="link" href="cnvbase.html#idm11945-bb"><span class="identifier">BOOST_CNV_STRING_TO</span></a><span class="special">(</span><span class="identifier">string_type</span> <span class="keyword">const</span> <span class="special">&amp;</span><span class="special">,</span> <span class="identifier">optional</span><span class="special">&lt;</span> <span class="identifier">int_type</span> <span class="special">&gt;</span> <span class="special">&amp;</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
   <a class="link" href="cnvbase.html#idm11951-bb"><span class="identifier">BOOST_CNV_STRING_TO</span></a><span class="special">(</span><span class="identifier">string_type</span> <span class="keyword">const</span> <span class="special">&amp;</span><span class="special">,</span> <span class="identifier">optional</span><span class="special">&lt;</span> <span class="identifier">uint_type</span> <span class="special">&gt;</span> <span class="special">&amp;</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
   <a class="link" href="cnvbase.html#idm11957-bb"><span class="identifier">BOOST_CNV_STRING_TO</span></a><span class="special">(</span><span class="identifier">string_type</span> <span class="keyword">const</span> <span class="special">&amp;</span><span class="special">,</span> <span class="identifier">optional</span><span class="special">&lt;</span> <span class="identifier">lint_type</span> <span class="special">&gt;</span> <span class="special">&amp;</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
   <a class="link" href="cnvbase.html#idm11963-bb"><span class="identifier">BOOST_CNV_STRING_TO</span></a><span class="special">(</span><span class="identifier">string_type</span> <span class="keyword">const</span> <span class="special">&amp;</span><span class="special">,</span> <span class="identifier">optional</span><span class="special">&lt;</span> <span class="identifier">llint_type</span> <span class="special">&gt;</span> <span class="special">&amp;</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
   <a class="link" href="cnvbase.html#idm11969-bb"><span class="identifier">BOOST_CNV_STRING_TO</span></a><span class="special">(</span><span class="identifier">string_type</span> <span class="keyword">const</span> <span class="special">&amp;</span><span class="special">,</span> <span class="identifier">optional</span><span class="special">&lt;</span> <span class="identifier">ulint_type</span> <span class="special">&gt;</span> <span class="special">&amp;</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
   <a class="link" href="cnvbase.html#idm11975-bb"><span class="identifier">BOOST_CNV_STRING_TO</span></a><span class="special">(</span><span class="identifier">string_type</span> <span class="keyword">const</span> <span class="special">&amp;</span><span class="special">,</span> <span class="identifier">optional</span><span class="special">&lt;</span> <span class="identifier">ullint_type</span> <span class="special">&gt;</span> <span class="special">&amp;</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
   <a class="link" href="cnvbase.html#idm11981-bb"><span class="identifier">BOOST_CNV_STRING_TO</span></a><span class="special">(</span><span class="identifier">string_type</span> <span class="keyword">const</span> <span class="special">&amp;</span><span class="special">,</span> <span class="identifier">optional</span><span class="special">&lt;</span> <span class="identifier">sint_type</span> <span class="special">&gt;</span> <span class="special">&amp;</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
   <a class="link" href="cnvbase.html#idm11987-bb"><span class="identifier">BOOST_CNV_STRING_TO</span></a><span class="special">(</span><span class="identifier">string_type</span> <span class="keyword">const</span> <span class="special">&amp;</span><span class="special">,</span> <span class="identifier">optional</span><span class="special">&lt;</span> <span class="identifier">usint_type</span> <span class="special">&gt;</span> <span class="special">&amp;</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
   <a class="link" href="cnvbase.html#idm11993-bb"><span class="identifier">BOOST_CNV_STRING_TO</span></a><span class="special">(</span><span class="identifier">string_type</span> <span class="keyword">const</span> <span class="special">&amp;</span><span class="special">,</span> <span class="identifier">optional</span><span class="special">&lt;</span> <span class="identifier">flt_type</span> <span class="special">&gt;</span> <span class="special">&amp;</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
   <a class="link" href="cnvbase.html#idm11999-bb"><span class="identifier">BOOST_CNV_STRING_TO</span></a><span class="special">(</span><span class="identifier">string_type</span> <span class="keyword">const</span> <span class="special">&amp;</span><span class="special">,</span> <span class="identifier">optional</span><span class="special">&lt;</span> <span class="identifier">dbl_type</span> <span class="special">&gt;</span> <span class="special">&amp;</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
   <a class="link" href="cnvbase.html#idm12005-bb"><span class="identifier">BOOST_CNV_STRING_TO</span></a><span class="special">(</span><span class="identifier">string_type</span> <span class="keyword">const</span> <span class="special">&amp;</span><span class="special">,</span> <span class="identifier">optional</span><span class="special">&lt;</span> <span class="identifier">ldbl_type</span> <span class="special">&gt;</span> <span class="special">&amp;</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
  <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> argument_pack<span class="special">&gt;</span> 
    <span class="identifier">std</span><span class="special">::</span><span class="identifier">enable_if</span><span class="special">&lt;</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">parameter</span><span class="special">::</span><span class="identifier">is_argument_pack</span><span class="special">&lt;</span> <span class="identifier">argument_pack</span> <span class="special">&gt;</span><span class="special">::</span><span class="identifier">value</span><span class="special">,</span> <span class="identifier">derived_type</span> <span class="special">&amp;</span> <span class="special">&gt;</span><span class="special">::</span><span class="identifier">type</span> 
    <a class="link" href="cnvbase.html#idm12011-bb"><span class="keyword">operator</span><span class="special">(</span><span class="special">)</span></a><span class="special">(</span><span class="identifier">argument_pack</span> <span class="keyword">const</span> <span class="special">&amp;</span><span class="special">)</span><span class="special">;</span>

  <span class="comment">// <a class="link" href="cnvbase.html#idm12017-bb">protected member functions</a></span>
  <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> string_type<span class="special">,</span> <span class="keyword">typename</span> out_type<span class="special">&gt;</span> 
    <span class="keyword">void</span> <a class="link" href="cnvbase.html#idm12018-bb"><span class="identifier">str_to_</span></a><span class="special">(</span><span class="identifier">string_type</span> <span class="keyword">const</span> <span class="special">&amp;</span><span class="special">,</span> <span class="identifier">optional</span><span class="special">&lt;</span> <span class="identifier">out_type</span> <span class="special">&gt;</span> <span class="special">&amp;</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
  <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> in_type<span class="special">,</span> <span class="keyword">typename</span> string_type<span class="special">&gt;</span> 
    <span class="keyword">void</span> <a class="link" href="cnvbase.html#idm12027-bb"><span class="identifier">to_str_</span></a><span class="special">(</span><span class="identifier">in_type</span><span class="special">,</span> <span class="identifier">optional</span><span class="special">&lt;</span> <span class="identifier">string_type</span> <span class="special">&gt;</span> <span class="special">&amp;</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
  <span class="identifier">derived_type</span> <span class="keyword">const</span>  <span class="special">&amp;</span> <a class="link" href="cnvbase.html#idm12036-bb"><span class="identifier">dncast</span></a><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
  <span class="identifier">derived_type</span> <span class="special">&amp;</span> <a class="link" href="cnvbase.html#idm12038-bb"><span class="identifier">dncast</span></a><span class="special">(</span><span class="special">)</span><span class="special">;</span>
  <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> argument_pack<span class="special">,</span> <span class="keyword">typename</span> keyword_tag<span class="special">&gt;</span> 
    <span class="keyword">void</span> <a class="link" href="cnvbase.html#idm12040-bb"><span class="identifier">set_</span></a><span class="special">(</span><span class="identifier">argument_pack</span> <span class="keyword">const</span> <span class="special">&amp;</span><span class="special">,</span> <span class="identifier">keyword_tag</span><span class="special">,</span> <span class="identifier">mpl</span><span class="special">::</span><span class="identifier">false_</span><span class="special">)</span><span class="special">;</span>
   <a class="link" href="cnvbase.html#idm12051-bb"><span class="identifier">BOOST_CNV_PARAM_SET</span></a><span class="special">(</span><span class="identifier">base</span><span class="special">)</span><span class="special">;</span>
   <a class="link" href="cnvbase.html#idm12055-bb"><span class="identifier">BOOST_CNV_PARAM_SET</span></a><span class="special">(</span><span class="identifier">adjust</span><span class="special">)</span><span class="special">;</span>
   <a class="link" href="cnvbase.html#idm12059-bb"><span class="identifier">BOOST_CNV_PARAM_SET</span></a><span class="special">(</span><span class="identifier">precision</span><span class="special">)</span><span class="special">;</span>
   <a class="link" href="cnvbase.html#idm12063-bb"><span class="identifier">BOOST_CNV_PARAM_SET</span></a><span class="special">(</span><span class="identifier">uppercase</span><span class="special">)</span><span class="special">;</span>
   <a class="link" href="cnvbase.html#idm12067-bb"><span class="identifier">BOOST_CNV_PARAM_SET</span></a><span class="special">(</span><span class="identifier">skipws</span><span class="special">)</span><span class="special">;</span>
   <a class="link" href="cnvbase.html#idm12071-bb"><span class="identifier">BOOST_CNV_PARAM_SET</span></a><span class="special">(</span><span class="identifier">width</span><span class="special">)</span><span class="special">;</span>
   <a class="link" href="cnvbase.html#idm12075-bb"><span class="identifier">BOOST_CNV_PARAM_SET</span></a><span class="special">(</span><span class="identifier">fill</span><span class="special">)</span><span class="special">;</span>
   <a class="link" href="cnvbase.html#idm12079-bb"><span class="identifier">BOOST_CNV_PARAM_SET</span></a><span class="special">(</span><span class="identifier">notation</span><span class="special">)</span><span class="special">;</span>
<span class="special">}</span><span class="special">;</span></pre></div>
<div class="refsect1">
<a name="idm13172"></a><h2>Description</h2>
<div class="refsect2">
<a name="idm13174"></a><h3>
<a name="boost.cnv.cnvbaseconstruct-copy-destruct"></a><code class="computeroutput">cnvbase</code> 
        public
       construct/copy/destruct</h3>
<div class="orderedlist"><ol class="orderedlist" type="1"><li class="listitem"><pre class="literallayout"><a name="idm12083-bb"></a><span class="identifier">cnvbase</span><span class="special">(</span><span class="special">)</span> <span class="special">=</span> <span class="keyword">default</span><span class="special">;</span></pre></li></ol></div>
</div>
<div class="refsect2">
<a name="idm13189"></a><h3>
<a name="idm11869-bb"></a><code class="computeroutput">cnvbase</code> public member functions</h3>
<div class="orderedlist"><ol class="orderedlist" type="1">
<li class="listitem"><pre class="literallayout"><span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> type_in<span class="special">,</span> <span class="keyword">typename</span> type_out<span class="special">&gt;</span> 
  <span class="keyword">void</span> <a name="idm11870-bb"></a><span class="keyword">operator</span><span class="special">(</span><span class="special">)</span><span class="special">(</span><span class="identifier">type_in</span> <span class="keyword">const</span> <span class="special">&amp;</span> in<span class="special">,</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">optional</span><span class="special">&lt;</span> <span class="identifier">type_out</span> <span class="special">&gt;</span> <span class="special">&amp;</span> out<span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"> <a name="idm11879-bb"></a><span class="identifier">BOOST_CNV_TO_STRING</span><span class="special">(</span><span class="identifier">int_type</span> v<span class="special">,</span> <span class="identifier">optional</span><span class="special">&lt;</span> <span class="identifier">string_type</span> <span class="special">&gt;</span> <span class="special">&amp;</span> r<span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"> <a name="idm11885-bb"></a><span class="identifier">BOOST_CNV_TO_STRING</span><span class="special">(</span><span class="identifier">uint_type</span> v<span class="special">,</span> <span class="identifier">optional</span><span class="special">&lt;</span> <span class="identifier">string_type</span> <span class="special">&gt;</span> <span class="special">&amp;</span> r<span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"> <a name="idm11891-bb"></a><span class="identifier">BOOST_CNV_TO_STRING</span><span class="special">(</span><span class="identifier">lint_type</span> v<span class="special">,</span> <span class="identifier">optional</span><span class="special">&lt;</span> <span class="identifier">string_type</span> <span class="special">&gt;</span> <span class="special">&amp;</span> r<span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"> <a name="idm11897-bb"></a><span class="identifier">BOOST_CNV_TO_STRING</span><span class="special">(</span><span class="identifier">llint_type</span> v<span class="special">,</span> <span class="identifier">optional</span><span class="special">&lt;</span> <span class="identifier">string_type</span> <span class="special">&gt;</span> <span class="special">&amp;</span> r<span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"> <a name="idm11903-bb"></a><span class="identifier">BOOST_CNV_TO_STRING</span><span class="special">(</span><span class="identifier">ulint_type</span> v<span class="special">,</span> <span class="identifier">optional</span><span class="special">&lt;</span> <span class="identifier">string_type</span> <span class="special">&gt;</span> <span class="special">&amp;</span> r<span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"> <a name="idm11909-bb"></a><span class="identifier">BOOST_CNV_TO_STRING</span><span class="special">(</span><span class="identifier">ullint_type</span> v<span class="special">,</span> <span class="identifier">optional</span><span class="special">&lt;</span> <span class="identifier">string_type</span> <span class="special">&gt;</span> <span class="special">&amp;</span> r<span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"> <a name="idm11915-bb"></a><span class="identifier">BOOST_CNV_TO_STRING</span><span class="special">(</span><span class="identifier">sint_type</span> v<span class="special">,</span> <span class="identifier">optional</span><span class="special">&lt;</span> <span class="identifier">string_type</span> <span class="special">&gt;</span> <span class="special">&amp;</span> r<span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"> <a name="idm11921-bb"></a><span class="identifier">BOOST_CNV_TO_STRING</span><span class="special">(</span><span class="identifier">usint_type</span> v<span class="special">,</span> <span class="identifier">optional</span><span class="special">&lt;</span> <span class="identifier">string_type</span> <span class="special">&gt;</span> <span class="special">&amp;</span> r<span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"> <a name="idm11927-bb"></a><span class="identifier">BOOST_CNV_TO_STRING</span><span class="special">(</span><span class="identifier">flt_type</span> v<span class="special">,</span> <span class="identifier">optional</span><span class="special">&lt;</span> <span class="identifier">string_type</span> <span class="special">&gt;</span> <span class="special">&amp;</span> r<span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"> <a name="idm11933-bb"></a><span class="identifier">BOOST_CNV_TO_STRING</span><span class="special">(</span><span class="identifier">dbl_type</span> v<span class="special">,</span> <span class="identifier">optional</span><span class="special">&lt;</span> <span class="identifier">string_type</span> <span class="special">&gt;</span> <span class="special">&amp;</span> r<span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"> <a name="idm11939-bb"></a><span class="identifier">BOOST_CNV_TO_STRING</span><span class="special">(</span><span class="identifier">ldbl_type</span> v<span class="special">,</span> <span class="identifier">optional</span><span class="special">&lt;</span> <span class="identifier">string_type</span> <span class="special">&gt;</span> <span class="special">&amp;</span> r<span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"> <a name="idm11945-bb"></a><span class="identifier">BOOST_CNV_STRING_TO</span><span class="special">(</span><span class="identifier">string_type</span> <span class="keyword">const</span> <span class="special">&amp;</span> s<span class="special">,</span> <span class="identifier">optional</span><span class="special">&lt;</span> <span class="identifier">int_type</span> <span class="special">&gt;</span> <span class="special">&amp;</span> r<span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"> <a name="idm11951-bb"></a><span class="identifier">BOOST_CNV_STRING_TO</span><span class="special">(</span><span class="identifier">string_type</span> <span class="keyword">const</span> <span class="special">&amp;</span> s<span class="special">,</span> <span class="identifier">optional</span><span class="special">&lt;</span> <span class="identifier">uint_type</span> <span class="special">&gt;</span> <span class="special">&amp;</span> r<span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"> <a name="idm11957-bb"></a><span class="identifier">BOOST_CNV_STRING_TO</span><span class="special">(</span><span class="identifier">string_type</span> <span class="keyword">const</span> <span class="special">&amp;</span> s<span class="special">,</span> <span class="identifier">optional</span><span class="special">&lt;</span> <span class="identifier">lint_type</span> <span class="special">&gt;</span> <span class="special">&amp;</span> r<span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"> <a name="idm11963-bb"></a><span class="identifier">BOOST_CNV_STRING_TO</span><span class="special">(</span><span class="identifier">string_type</span> <span class="keyword">const</span> <span class="special">&amp;</span> s<span class="special">,</span> <span class="identifier">optional</span><span class="special">&lt;</span> <span class="identifier">llint_type</span> <span class="special">&gt;</span> <span class="special">&amp;</span> r<span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"> <a name="idm11969-bb"></a><span class="identifier">BOOST_CNV_STRING_TO</span><span class="special">(</span><span class="identifier">string_type</span> <span class="keyword">const</span> <span class="special">&amp;</span> s<span class="special">,</span> <span class="identifier">optional</span><span class="special">&lt;</span> <span class="identifier">ulint_type</span> <span class="special">&gt;</span> <span class="special">&amp;</span> r<span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"> <a name="idm11975-bb"></a><span class="identifier">BOOST_CNV_STRING_TO</span><span class="special">(</span><span class="identifier">string_type</span> <span class="keyword">const</span> <span class="special">&amp;</span> s<span class="special">,</span> <span class="identifier">optional</span><span class="special">&lt;</span> <span class="identifier">ullint_type</span> <span class="special">&gt;</span> <span class="special">&amp;</span> r<span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"> <a name="idm11981-bb"></a><span class="identifier">BOOST_CNV_STRING_TO</span><span class="special">(</span><span class="identifier">string_type</span> <span class="keyword">const</span> <span class="special">&amp;</span> s<span class="special">,</span> <span class="identifier">optional</span><span class="special">&lt;</span> <span class="identifier">sint_type</span> <span class="special">&gt;</span> <span class="special">&amp;</span> r<span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"> <a name="idm11987-bb"></a><span class="identifier">BOOST_CNV_STRING_TO</span><span class="special">(</span><span class="identifier">string_type</span> <span class="keyword">const</span> <span class="special">&amp;</span> s<span class="special">,</span> <span class="identifier">optional</span><span class="special">&lt;</span> <span class="identifier">usint_type</span> <span class="special">&gt;</span> <span class="special">&amp;</span> r<span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"> <a name="idm11993-bb"></a><span class="identifier">BOOST_CNV_STRING_TO</span><span class="special">(</span><span class="identifier">string_type</span> <span class="keyword">const</span> <span class="special">&amp;</span> s<span class="special">,</span> <span class="identifier">optional</span><span class="special">&lt;</span> <span class="identifier">flt_type</span> <span class="special">&gt;</span> <span class="special">&amp;</span> r<span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"> <a name="idm11999-bb"></a><span class="identifier">BOOST_CNV_STRING_TO</span><span class="special">(</span><span class="identifier">string_type</span> <span class="keyword">const</span> <span class="special">&amp;</span> s<span class="special">,</span> <span class="identifier">optional</span><span class="special">&lt;</span> <span class="identifier">dbl_type</span> <span class="special">&gt;</span> <span class="special">&amp;</span> r<span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"> <a name="idm12005-bb"></a><span class="identifier">BOOST_CNV_STRING_TO</span><span class="special">(</span><span class="identifier">string_type</span> <span class="keyword">const</span> <span class="special">&amp;</span> s<span class="special">,</span> <span class="identifier">optional</span><span class="special">&lt;</span> <span class="identifier">ldbl_type</span> <span class="special">&gt;</span> <span class="special">&amp;</span> r<span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> argument_pack<span class="special">&gt;</span> 
  <span class="identifier">std</span><span class="special">::</span><span class="identifier">enable_if</span><span class="special">&lt;</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">parameter</span><span class="special">::</span><span class="identifier">is_argument_pack</span><span class="special">&lt;</span> <span class="identifier">argument_pack</span> <span class="special">&gt;</span><span class="special">::</span><span class="identifier">value</span><span class="special">,</span> <span class="identifier">derived_type</span> <span class="special">&amp;</span> <span class="special">&gt;</span><span class="special">::</span><span class="identifier">type</span> 
  <a name="idm12011-bb"></a><span class="keyword">operator</span><span class="special">(</span><span class="special">)</span><span class="special">(</span><span class="identifier">argument_pack</span> <span class="keyword">const</span> <span class="special">&amp;</span> arg<span class="special">)</span><span class="special">;</span></pre></li>
</ol></div>
</div>
<div class="refsect2">
<a name="idm13634"></a><h3>
<a name="idm12017-bb"></a><code class="computeroutput">cnvbase</code> protected member functions</h3>
<div class="orderedlist"><ol class="orderedlist" type="1">
<li class="listitem"><pre class="literallayout"><span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> string_type<span class="special">,</span> <span class="keyword">typename</span> out_type<span class="special">&gt;</span> 
  <span class="keyword">void</span> <a name="idm12018-bb"></a><span class="identifier">str_to_</span><span class="special">(</span><span class="identifier">string_type</span> <span class="keyword">const</span> <span class="special">&amp;</span> str<span class="special">,</span> <span class="identifier">optional</span><span class="special">&lt;</span> <span class="identifier">out_type</span> <span class="special">&gt;</span> <span class="special">&amp;</span> result_out<span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> in_type<span class="special">,</span> <span class="keyword">typename</span> string_type<span class="special">&gt;</span> 
  <span class="keyword">void</span> <a name="idm12027-bb"></a><span class="identifier">to_str_</span><span class="special">(</span><span class="identifier">in_type</span> value_in<span class="special">,</span> <span class="identifier">optional</span><span class="special">&lt;</span> <span class="identifier">string_type</span> <span class="special">&gt;</span> <span class="special">&amp;</span> result_out<span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><span class="identifier">derived_type</span> <span class="keyword">const</span>  <span class="special">&amp;</span> <a name="idm12036-bb"></a><span class="identifier">dncast</span><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><span class="identifier">derived_type</span> <span class="special">&amp;</span> <a name="idm12038-bb"></a><span class="identifier">dncast</span><span class="special">(</span><span class="special">)</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> argument_pack<span class="special">,</span> <span class="keyword">typename</span> keyword_tag<span class="special">&gt;</span> 
  <span class="keyword">void</span> <a name="idm12040-bb"></a><span class="identifier">set_</span><span class="special">(</span><span class="identifier">argument_pack</span> <span class="keyword">const</span> <span class="special">&amp;</span><span class="special">,</span> <span class="identifier">keyword_tag</span><span class="special">,</span> <span class="identifier">mpl</span><span class="special">::</span><span class="identifier">false_</span><span class="special">)</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"> <a name="idm12051-bb"></a><span class="identifier">BOOST_CNV_PARAM_SET</span><span class="special">(</span><span class="identifier">base</span><span class="special">)</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"> <a name="idm12055-bb"></a><span class="identifier">BOOST_CNV_PARAM_SET</span><span class="special">(</span><span class="identifier">adjust</span><span class="special">)</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"> <a name="idm12059-bb"></a><span class="identifier">BOOST_CNV_PARAM_SET</span><span class="special">(</span><span class="identifier">precision</span><span class="special">)</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"> <a name="idm12063-bb"></a><span class="identifier">BOOST_CNV_PARAM_SET</span><span class="special">(</span><span class="identifier">uppercase</span><span class="special">)</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"> <a name="idm12067-bb"></a><span class="identifier">BOOST_CNV_PARAM_SET</span><span class="special">(</span><span class="identifier">skipws</span><span class="special">)</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"> <a name="idm12071-bb"></a><span class="identifier">BOOST_CNV_PARAM_SET</span><span class="special">(</span><span class="identifier">width</span><span class="special">)</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"> <a name="idm12075-bb"></a><span class="identifier">BOOST_CNV_PARAM_SET</span><span class="special">(</span><span class="identifier">fill</span><span class="special">)</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"> <a name="idm12079-bb"></a><span class="identifier">BOOST_CNV_PARAM_SET</span><span class="special">(</span><span class="identifier">notation</span><span class="special">)</span><span class="special">;</span></pre></li>
</ol></div>
</div>
</div>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright © 2009-2022 Vladimir
      Batov<p>
        Distributed under the Boost Software License, Version 1.0. See copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>.
      </p>
</div></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="../../header/boost/convert/base_hpp.html"><img src="../../images/prev.png" alt="Prev"></a><a accesskey="u" href="../../header/boost/convert/base_hpp.html"><img src="../../images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../images/home.png" alt="Home"></a><a accesskey="n" href="../../BOOST_CNV_TO_STRING.html"><img src="../../images/next.png" alt="Next"></a>
</div>
</body>
</html>
